Pen Art in Scratch Programming: the art of programming and the programming of art (Learning computer programming and CS principles Book 1) by Joshi Abhay & Gaikwad Sandesh

Pen Art in Scratch Programming: the art of programming and the programming of art (Learning computer programming and CS principles Book 1) by Joshi Abhay & Gaikwad Sandesh

Author:Joshi, Abhay & Gaikwad, Sandesh [Joshi, Abhay]
Language: eng
Format: epub
Published: 2018-10-20T16:00:00+00:00


To stop half-way we should ask the Turtle to take 180 steps instead of 360, keeping everything else the same.

We do indeed get a semi-circle!

The procedures for drawing semi-circles would derive easily from the circle procedures by just replacing the repeat count 360 with 180.

Note that input 'c' specifies the circumference of the full circle . So, the length of the semi-circle would be c/2.

Let's test these procedures to draw a bunch of semi-circles.

Do you see the 3 semi-circles that we drew one after the other?



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.